package cn.kgc.servlet;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @Author: 课工场
 * @Version: v1.0  2023/5/10
 * @Description:  /student
 */
public class StudentServlet extends HttpServlet {

    // 所有的请求一旦被匹配  首先会调用该方法
    @Override
    protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        System.out.println("==============service()==============");
    }
}
